package com.gmadmin.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.gmadmin.common.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 消息内容表
 *
 * @author zl.sir
 * @since 2022-08-02
 */
@TableName("message_info")
public class MessageInfo extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 3300412298773274110L;
	/**
	 * 主键ID
	 */
	@TableId(type = IdType.AUTO)
 	@TableField("id")
	private Long id;

	/**
	 * 标题
	 */
 	@TableField("title")
	private String title;

	/**
	 * 正文
	 */
 	@TableField("content")
	private String content;

	/**
	 * 图片地址
	 */
 	@TableField("image")
	private String image;

	/**
	 * 跳转链接
	 */
 	@TableField("jump_url")
	private String jumpUrl;

	/**
	 * 消息类型 1-系统消息  100-其他
	 */
 	@TableField("type")
	private Long type;

	/**
	 * 发送者ID
	 */
 	@TableField("sender_id")
	private Long senderId;

	/**
	 * 发送频道 1-站内 2-短信 3-推送
	 */
 	@TableField("channel")
	private Long channel;

	/**
	 * 接收类型 1-白名单 2-黑名单 3-单一用户 100-全部
	 */
 	@TableField("receive_type")
	private Long receiveType;

	/**
	 * 备注
	 */
 	@TableField("remarks")
	private String remarks;



	/**
	 * 逻辑删除标记
	 */
 	@TableField("flag")
	private Long flag;



  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }


  public String getJumpUrl() {
    return jumpUrl;
  }

  public void setJumpUrl(String jumpUrl) {
    this.jumpUrl = jumpUrl;
  }


  public Long getType() {
    return type;
  }

  public void setType(Long type) {
    this.type = type;
  }


  public Long getSenderId() {
    return senderId;
  }

  public void setSenderId(Long senderId) {
    this.senderId = senderId;
  }


  public Long getChannel() {
    return channel;
  }

  public void setChannel(Long channel) {
    this.channel = channel;
  }


  public Long getReceiveType() {
    return receiveType;
  }

  public void setReceiveType(Long receiveType) {
    this.receiveType = receiveType;
  }


  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }



  public Long getFlag() {
    return flag;
  }

  public void setFlag(Long flag) {
    this.flag = flag;
  }

}
